package com.mycompany.inventory.pojo;

public class StorageInfo {
	
	private String id;
	public String barcode;
	private String inventoryId;
	private String reorder_point;
	private String reorder_number;
	private String standardUoM;
	private String saleUoM;
	private String purchaseUoM;
	private String length;
	private String width;
	private String height;
	private String weight;
	private String manufactuer;
	private String madein;
	private String saleConversion;
	private String saleConversion1;
	private String purchaseConversion;
	private String purchaseConversion1;
	
	public StorageInfo() {
		this.id = "";
		this.barcode = "";
		this.inventoryId = "";
		this.reorder_point = "";
		this.reorder_number = "";
		this.standardUoM = "";
		this.saleUoM = "";
		this.purchaseUoM = "";
		this.length = "";
		this.width = "";
		this.height = "";
		this.weight ="";
		this.manufactuer = "";
		this.madein = "";
		this.saleConversion = "";
		this.saleConversion1 ="";
		this.purchaseConversion ="";
		this.purchaseConversion1 ="";
	}
	
	public StorageInfo(String id, String barcode, String inventoryId, String reorder_point, String reorder_number, String standardUoM, String saleUoM, String purchaseUoM,
			String length, String width, String height, String weight, String manufactuer , String madein, String saleConversion, String saleConversion1, String purchaseConversion, String purchaseConversion1) {
		this.id = id;
		this.barcode = barcode;
		this.inventoryId = inventoryId;
		this.reorder_point = reorder_point;
		this.reorder_number = reorder_number;
		this.standardUoM = standardUoM;
		this.saleUoM = saleUoM;
		this.purchaseUoM = purchaseUoM;
		this.height = height;
		this.width = width;
		this.length = length;
		this.weight = weight;
		this.manufactuer = manufactuer;
		this.madein = madein;
		this.saleConversion = saleConversion;
		this.saleConversion1 = saleConversion1;
		this.purchaseConversion = purchaseConversion;
		this.purchaseConversion1 = purchaseConversion1;
	}
	
	public void clear(){
		this.id = "";
		this.barcode = "";
		this.inventoryId = "";
		this.reorder_point = "";
		this.reorder_number = "";
		this.standardUoM = "";
		this.saleUoM = "";
		this.purchaseUoM = "";
		this.length = "";
		this.width = "";
		this.height = "";
		this.weight ="";
		this.manufactuer = "";
		this.madein = "";
		this.saleConversion = "";
		this.saleConversion1 ="";
		this.purchaseConversion ="";
		this.purchaseConversion1 ="";		
	}
	
	public void copyValue(StorageInfo storage){
		this.id = storage.getId();
		this.barcode = storage.getBarcode();
		this.inventoryId = storage.getInventoryId();
		this.reorder_point = storage.getReorder_point();
		this.reorder_number = storage.getReorder_number();
		this.standardUoM = storage.getStandardUoM();
		this.saleUoM = storage.getSaleUoM();
		this.purchaseUoM = storage.getPurchaseUoM();
		this.height = storage.getHeight();
		this.width = storage.getWidth();
		this.length = storage.getLength();
		this.weight = storage.getWeight();
		this.manufactuer = storage.getManufactuer();
		this.madein = storage.getMadein();
		this.saleConversion = storage.getSaleConversion();
		this.saleConversion1 = storage.getSaleConversion1();
		this.purchaseConversion = storage.getPurchaseConversion();
		this.purchaseConversion1 = storage.getPurchaseConversion1();
	}

	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * @return the barcode
	 */
	public String getBarcode() {
		return barcode;
	}

	/**
	 * @param barcode the barcode to set
	 */
	public void setBarcode(String barcode) {
		this.barcode = barcode;
	}

	/**
	 * @return the inventoryId
	 */
	public String getInventoryId() {
		return inventoryId;
	}

	/**
	 * @param inventoryId the inventoryId to set
	 */
	public void setInventoryId(String inventoryId) {
		this.inventoryId = inventoryId;
	}

	/**
	 * @return the reorder_point
	 */
	public String getReorder_point() {
		return reorder_point;
	}

	/**
	 * @param reorder_point the reorder_point to set
	 */
	public void setReorder_point(String reorder_point) {
		this.reorder_point = reorder_point;
	}

	/**
	 * @return the reorder_number
	 */
	public String getReorder_number() {
		return reorder_number;
	}

	/**
	 * @param reorder_number the reorder_number to set
	 */
	public void setReorder_number(String reorder_number) {
		this.reorder_number = reorder_number;
	}

	/**
	 * @return the standardUoM
	 */
	public String getStandardUoM() {
		return standardUoM;
	}

	/**
	 * @param standardUoM the standardUoM to set
	 */
	public void setStandardUoM(String standardUoM) {
		this.standardUoM = standardUoM;
	}

	/**
	 * @return the saleUoM
	 */
	public String getSaleUoM() {
		return saleUoM;
	}

	/**
	 * @param saleUoM the saleUoM to set
	 */
	public void setSaleUoM(String saleUoM) {
		this.saleUoM = saleUoM;
	}

	/**
	 * @return the purchaseUoM
	 */
	public String getPurchaseUoM() {
		return purchaseUoM;
	}

	/**
	 * @param purchaseUoM the purchaseUoM to set
	 */
	public void setPurchaseUoM(String purchaseUoM) {
		this.purchaseUoM = purchaseUoM;
	}

	/**
	 * @return the length
	 */
	public String getLength() {
		return length;
	}

	/**
	 * @param length the length to set
	 */
	public void setLength(String length) {
		this.length = length;
	}

	/**
	 * @return the width
	 */
	public String getWidth() {
		return width;
	}

	/**
	 * @param width the width to set
	 */
	public void setWidth(String width) {
		this.width = width;
	}

	/**
	 * @return the height
	 */
	public String getHeight() {
		return height;
	}

	/**
	 * @param height the height to set
	 */
	public void setHeight(String height) {
		this.height = height;
	}

	/**
	 * @return the weight
	 */
	public String getWeight() {
		return weight;
	}

	/**
	 * @param weight the weight to set
	 */
	public void setWeight(String weight) {
		this.weight = weight;
	}

	/**
	 * @return the manufactuer
	 */
	public String getManufactuer() {
		return manufactuer;
	}

	/**
	 * @param manufactuer the manufactuer to set
	 */
	public void setManufactuer(String manufactuer) {
		this.manufactuer = manufactuer;
	}

	/**
	 * @return the madein
	 */
	public String getMadein() {
		return madein;
	}

	/**
	 * @param madein the madein to set
	 */
	public void setMadein(String madein) {
		this.madein = madein;
	}

	/**
	 * @return the saleConversion
	 */
	public String getSaleConversion() {
		return saleConversion;
	}

	/**
	 * @param saleConversion the saleConversion to set
	 */
	public void setSaleConversion(String saleConversion) {
		this.saleConversion = saleConversion;
	}

	/**
	 * @return the saleConversion1
	 */
	public String getSaleConversion1() {
		return saleConversion1;
	}

	/**
	 * @param saleConversion1 the saleConversion1 to set
	 */
	public void setSaleConversion1(String saleConversion1) {
		this.saleConversion1 = saleConversion1;
	}

	/**
	 * @return the purchaseConversion
	 */
	public String getPurchaseConversion() {
		return purchaseConversion;
	}

	/**
	 * @param purchaseConversion the purchaseConversion to set
	 */
	public void setPurchaseConversion(String purchaseConversion) {
		this.purchaseConversion = purchaseConversion;
	}

	/**
	 * @return the purchaseConversion1
	 */
	public String getPurchaseConversion1() {
		return purchaseConversion1;
	}

	/**
	 * @param purchaseConversion1 the purchaseConversion1 to set
	 */
	public void setPurchaseConversion1(String purchaseConversion1) {
		this.purchaseConversion1 = purchaseConversion1;
	}	
	
}